﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ZDT.Text
{
    /// <summary>
    /// 替换规则
    /// </summary>
    public enum  ReplaceRule
    {
        None = 0,
        /// <summary>
        /// 匹配段落
        /// </summary>
        Match = 1,
        /// <summary>
        /// 删除段落
        /// </summary>
        ReplaceMatch = 2,
        /// <summary>
        /// 删除头
        /// </summary>
        ReplaceHeadMark = 4,
        /// <summary>
        /// 替换头加前级
        /// </summary>
        ReplaceProfixHeadMark = 8,
        /// <summary>
        /// 替换段落加前级
        /// </summary>
        ReplaceProfixMatch = 16,
        /// <summary>
        /// 替换头加后级
        /// </summary>
        ReplaceHeadMarkProfix = 32,
        /// <summary>
        /// 替换段落加后级
        /// </summary>
        ReplaceMatchProfix = 64,
        /// <summary>
        /// 替换头成后级
        /// </summary>
        ReplaceHeadMarkToProfix = 128,
        /// <summary>
        /// 替换段落成后级
        /// </summary>
        ReplaceMatchToProfix = 256
    }
}
